home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / midi / ptrply65.lha / PTReplay / Include / ptreplay.h < prev    next >
C/C++ Source or Header  |  1995-09-12  |  760b  |  31 lines

  1.  
  2. /* ptreplay.h -- definition of ptreplay.library structures */
  3.  
  4. #ifndef    LIBRARIES_PTREPLAY_H 
  5. #define LIBRARIES_PTREPLAY_H
  6.  
  7. #ifndef    EXEC_TYPES_H
  8. #include <exec/types.h>
  9. #endif
  10.  
  11. #define PTREPLAYNAME "ptreplay.library"
  12.  
  13. struct Module
  14. {
  15.     STRPTR mod_Name;
  16. /* The rest is private for now, but more details may be released later. */
  17. };
  18.  
  19. /* This structure is returned by GetSample function */
  20. struct PTSample
  21. {
  22.     UBYTE Name[22];        /* Null terminated string with samplename */
  23.     UWORD Length;        /* Sample length in words */
  24.     UBYTE FineTune;        /* FineTune of sample in lower 4 bits */
  25.     UBYTE Volume;        /* Volume of sample */
  26.     UWORD Repeat;        /* Repeat start in number of words */
  27.     UWORD Replen;        /* Repeat length in number of words */
  28. };
  29.  
  30. #endif /* LIBRARIES_PTREPLAY_H */
  31.